#include <bits/stdc++.h>
using namespace std;

class Solution
{
public:
    int main()
    {
        int a;
        cin >> a;
        cout << floor(log(a) / log(2) + 1);
        return 0;
    }
};

#ifndef __LOCAL_TEST__
int main()
{
    return Solution().main();
}
#endif